package hero.mps.web.stu_points.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("stu_points")
public class StuPoints {
    @TableId(type = IdType.AUTO)
    /**
     * 主键
     */
    private Integer pointId;

    /**
     * 学生id
     */
    private Integer stuId;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 班级id
     */
    private Integer classId;

    /**
     * 成绩
     */
    private Double point;
}
